for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
Mivhak.component('caption', {
Mivhak
/** global: Mivhak */
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.
template: '<div class="mivhak-caption"></div>',
props: {
text: null
},
created: function() {
this.setText(this.text);
methods: {
setText: function(text) {
this.$el.html(text);
}
});
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.